import React from 'react';
import { connect } from 'dva';
import styles from './myCourse.css';
import MyCourseComponent from '../../components/Class/MyCourse'

function myCourse(props) {
  return (
    <div className={styles.normal}>
      <MyCourseComponent {...props}/>
    </div>
  );
}

function mapStateToProps(state) {
  return {
    mycourse:state.mycourse
  };
}

export default connect(mapStateToProps)(myCourse);
